From: Nick Roberts Date: Mon, 29 Mar 2004 19:24:11 +0000 (+0000) Subject: (gud-gdb-marker-filter): Include "\n" in regexp X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~23429 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=c7e26ce0ef9d4903f6c5154895aad59be9480e98;p=emacs.git (gud-gdb-marker-filter): Include "\n" in regexp to detect the beginning of a level 2 or 3 annotation. --- diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index ff04c05edff..a34b0bb2d48 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -477,7 +477,7 @@ off the specialized speedbar mode." ;; gud-marker-acc until we receive the rest of it. Since we ;; know the full marker regexp above failed, it's pretty simple to ;; test for marker starts. - (if (string-match "\032.*\\'" gud-marker-acc) + (if (string-match "\n\\(\032.*\\)?\\'" gud-marker-acc) (progn ;; Everything before the potential marker start can be output. (setq output (concat output (substring gud-marker-acc